///###############
//FILE          : SortedStructureException.java
//WRITER        : Lior Zimmerman, liorz06, 066462300
//WRITER        : Ohad Dan, ohad_dan, 036767960
//EXERCISE      : oop ex1 2008
//DESCRIPTION   : this class represents a general sorted structure exception
//###############
package oop.ex1.sortedStructure;

/**
 * Handles errors in the sorted structure.
 */
public class SortedStructureException extends Throwable{
    private static final long serialVersionUID = 1L;
    /**
     * In case of exception catch, an exception message should 
     * be prompted and directed to upper hierarchy implementation.
     * @param msg Prompt this message in case of an error.
     */
    public SortedStructureException (String msg){
        super(msg);
    }
    /**
     * In case of exception catch, directed handling should be 
     * delivered to upper hierarchy implementation.
     */
    public SortedStructureException (){
        super();
    }
    
}